    $(window).load(function() {
      $('.on_off :checkbox').iphoneStyle();
      $('.disabled :checkbox').iphoneStyle();
      $('.css_sized_container :checkbox').iphoneStyle({ resizeContainer: false, resizeHandle: false });
      $('.long_tiny :checkbox').iphoneStyle({ checkedLabel: 'Very Long Text', uncheckedLabel: 'Tiny' });
      
      var onchange_checkbox = ($('.onchange :checkbox')).iphoneStyle({
        onChange: function(elem, value) { 
          $('span#status').html(value.toString());
        }
      });
      
      setInterval(function() {
        onchange_checkbox.prop('checked', !onchange_checkbox.is(':checked')).iphoneStyle("refresh");
        return
      }, 2500);
    });

      $(document).ready(
    function()
    {
	  $.fn.jPicker.defaults.images.clientPath='images/';
        var LiveCallbackElement = $('#Live'),
            LiveCallbackButton = $('#LiveButton');
      $('.Multiple').jPicker();
    });
$(document).ready(function()
{
	$(".addpopup").fancybox({
				'width'				: '501px',
				'height'			: '400px',
				'autoScale'			: false,
			    'transitionIn'		: 'fadein',
				'transitionOut'		: 'fadeout',
				
			});
	
});